from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtCore import Qt
from PyQt5.QtGui import QIcon
from PyQt5.QtWidgets import QWidget, QDialog, QMessageBox
import pictures
import sys

window = QtWidgets.QApplication(sys.argv)  # 实例化应用对象
main_windows = QtWidgets.QMainWindow()
# 需要替换的字符串的人为定义
str_userName = ""  # 用户名


# ui主界面
class UiMainWindow(QWidget):
    def __init__(self, main_window):
        super().__init__()
        self.setup_main_ui(main_window)

    # 主初始化函数
    def setup_main_ui(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.setFixedSize(750, 593)
        MainWindow.setAutoFillBackground(True)
        MainWindow.setStyleSheet("")
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.pushButton_3 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_3.setGeometry(QtCore.QRect(10, 180, 100, 25))
        self.pushButton_3.setStyleSheet("background-color: rgba(255, 255, 255,40);\n"
                                        "font: 9pt \"仿宋\";")
        self.pushButton_3.setObjectName("pushButton_3")
        self.pushButton_4 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_4.setGeometry(QtCore.QRect(10, 290, 100, 25))
        self.pushButton_4.setStyleSheet("background-color: rgba(255, 255, 255,40);\n"
                                        "font: 9pt \"仿宋\";")
        self.pushButton_4.setObjectName("pushButton_4")
        self.verticalSlider = QtWidgets.QSlider(self.centralwidget)
        self.verticalSlider.setGeometry(QtCore.QRect(720, 70, 22, 201))
        self.verticalSlider.setStyleSheet("border-color: rgba(255, 255, 255, 0);")
        self.verticalSlider.setOrientation(Qt.Vertical)
        self.verticalSlider.setObjectName("verticalSlider")
        self.pushButton_5 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_5.setGeometry(QtCore.QRect(670, 10, 60, 25))
        self.pushButton_5.setMouseTracking(True)
        self.pushButton_5.setTabletTracking(True)
        self.pushButton_5.setContextMenuPolicy(Qt.NoContextMenu)
        self.pushButton_5.setAutoFillBackground(False)
        self.pushButton_5.setStyleSheet("background-color: rgba(255, 255, 255,40);\n"
                                        "font: 9pt \"仿宋\";")
        self.pushButton_5.setCheckable(False)
        self.pushButton_5.setChecked(False)
        self.pushButton_5.setAutoDefault(False)
        self.pushButton_5.setDefault(False)
        self.pushButton_5.setFlat(False)
        self.pushButton_5.setObjectName("pushButton_5")
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        self.label_2.setGeometry(QtCore.QRect(0, 0, 750, 600))
        self.label_2.setAutoFillBackground(False)
        self.label_2.setStyleSheet("border-image: url(:/background/background_2.jpg);")
        self.label_2.setText("")
        self.label_2.setObjectName("label_2")
        self.lineEdit = QtWidgets.QLineEdit(self.centralwidget)
        self.lineEdit.setGeometry(QtCore.QRect(200, 40, 400, 25))
        font = QtGui.QFont()
        font.setKerning(True)
        self.lineEdit.setFont(font)
        self.lineEdit.setAutoFillBackground(False)
        self.lineEdit.setStyleSheet("background-color: rgba(255, 255, 255, 0);")
        self.lineEdit.setObjectName("lineEdit")
        self.pushButton_6 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_6.setGeometry(QtCore.QRect(615, 70, 105, 25))
        self.pushButton_6.setMouseTracking(True)
        self.pushButton_6.setTabletTracking(True)
        self.pushButton_6.setAcceptDrops(True)
        self.pushButton_6.setAutoFillBackground(False)
        self.pushButton_6.setStyleSheet("background-color: rgba(255, 255, 255, 40);\n"
                                        "font: 9pt \"仿宋\";")
        self.pushButton_6.setCheckable(True)
        self.pushButton_6.setChecked(True)
        self.pushButton_6.setAutoRepeat(True)
        self.pushButton_6.setAutoExclusive(True)
        self.pushButton_6.setObjectName("pushButton_6")
        self.label_5 = QtWidgets.QLabel(self.centralwidget)
        self.label_5.setGeometry(QtCore.QRect(616, 100, 60, 20))
        self.label_5.setStyleSheet("background-color: rgba(255, 255, 255, 40);\n"
                                   "font: 9pt \"仿宋\";")
        self.label_5.setObjectName("label_5")
        self.label_6 = QtWidgets.QLabel(self.centralwidget)
        self.label_6.setGeometry(QtCore.QRect(690, 100, 30, 20))
        font = QtGui.QFont()
        font.setFamily("宋体")
        font.setPointSize(9)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.label_6.setFont(font)
        self.label_6.setStyleSheet("background-color: rgba(255, 255, 255, 80);\n"
                                   "font: 9pt \"宋体\";")
        self.label_6.setObjectName("label_6")
        self.pushButton_7 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_7.setGeometry(QtCore.QRect(170, 40, 25, 25))
        self.pushButton_7.setStyleSheet("border-image: url(:/background/search_icon.jpg);")
        self.pushButton_7.setText("")
        self.pushButton_7.setObjectName("pushButton_7")
        self.pushButton_8 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_8.setGeometry(QtCore.QRect(125, 40, 45, 26))
        self.pushButton_8.setStyleSheet("background-color: rgba(255, 255, 255, 10);\n"
                                        "font: 9pt \"仿宋\";")
        self.pushButton_8.setObjectName("pushButton_8")
        self.label_4 = QtWidgets.QLabel(self.centralwidget)
        self.label_4.setGeometry(QtCore.QRect(10, 10, 80, 20))
        self.label_4.setStyleSheet("font: 10pt \"仿宋\";")
        self.label_4.setObjectName("label_4")
        self.label_7 = QtWidgets.QLabel(self.centralwidget)
        self.label_7.setGeometry(QtCore.QRect(100, 10, 81, 20))
        self.label_7.setStyleSheet("font: 10pt \"仿宋\";")
        self.label_7.setObjectName("label_7")
        self.widget = QtWidgets.QWidget(self.centralwidget)
        self.widget.setGeometry(QtCore.QRect(70, 470, 570, 70))
        self.widget.setStyleSheet("background-color: rgb(255, 255, 255,40);")
        self.widget.setObjectName("widget")
        self.label_3 = QtWidgets.QLabel(self.widget)
        self.label_3.setGeometry(QtCore.QRect(40, 10, 110, 30))
        self.label_3.setStyleSheet("background-color: rgba(255, 255, 255, 0);\n"
                                   "font: 10pt \"仿宋\";")
        self.label_3.setObjectName("label_3")
        self.horizontalSlider = QtWidgets.QSlider(self.widget)
        self.horizontalSlider.setGeometry(QtCore.QRect(10, 40, 550, 22))
        self.horizontalSlider.setStyleSheet("background-color: rgba(255, 255, 255, 0);")
        self.horizontalSlider.setOrientation(Qt.Horizontal)
        self.horizontalSlider.setObjectName("horizontalSlider")
        self.label_8 = QtWidgets.QLabel(self.widget)
        self.label_8.setGeometry(QtCore.QRect(170, 10, 500, 30))
        self.label_8.setStyleSheet("font: 10pt \"仿宋\";")
        self.label_8.setObjectName("label_8")
        self.pushButton_9 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_9.setGeometry(QtCore.QRect(160, 550, 25, 25))
        self.pushButton_9.setAutoFillBackground(False)
        self.pushButton_9.setStyleSheet("border-image: url(:/background/last_song.jpg);\n"
                                        "background-color: rgba(255, 255, 255, 0);")
        self.pushButton_9.setText("")
        self.pushButton_9.setObjectName("pushButton_9")
        self.pushButton_10 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_10.setGeometry(QtCore.QRect(290, 550, 50, 25))
        self.pushButton_10.setAutoFillBackground(False)
        self.pushButton_10.setStyleSheet("background-color: rgba(255, 255, 255, 80);")
        self.pushButton_10.setObjectName("pushButton_10")
        self.pushButton_11 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_11.setGeometry(QtCore.QRect(500, 550, 25, 25))
        self.pushButton_11.setStyleSheet("border-image: url(:/background/next_song.jpg);\n"
                                         "background-color: rgba(183, 214, 255, 0);")
        self.pushButton_11.setText("")
        self.pushButton_11.setObjectName("pushButton_11")
        self.widget_2 = QtWidgets.QWidget(self.centralwidget)
        self.widget_2.setGeometry(QtCore.QRect(120, 80, 480, 360))
        self.widget_2.setStyleSheet("background-color: rgba(255, 255, 255, 60);")
        self.widget_2.setObjectName("widget_2")
        self.label_9 = QtWidgets.QLabel(self.widget_2)
        self.label_9.setGeometry(QtCore.QRect(10, 10, 115, 21))
        self.label_9.setStyleSheet("font: 10pt \"仿宋\";")
        self.label_9.setObjectName("label_9")
        self.pushButton_12 = QtWidgets.QPushButton(self.widget_2)
        self.pushButton_12.setGeometry(QtCore.QRect(20, 40, 440, 30))
        self.pushButton_12.setStyleSheet("font: 9pt \"仿宋\";")
        self.pushButton_12.setObjectName("pushButton_12")
        self.pushButton_13 = QtWidgets.QPushButton(self.widget_2)
        self.pushButton_13.setGeometry(QtCore.QRect(20, 90, 440, 30))
        self.pushButton_13.setStyleSheet("font: 9pt \"仿宋\";")
        self.pushButton_13.setObjectName("pushButton_13")
        self.pushButton_14 = QtWidgets.QPushButton(self.widget_2)
        self.pushButton_14.setGeometry(QtCore.QRect(20, 130, 440, 30))
        self.pushButton_14.setStyleSheet("font: 9pt \"仿宋\";")
        self.pushButton_14.setObjectName("pushButton_14")
        self.pushButton_15 = QtWidgets.QPushButton(self.widget_2)
        self.pushButton_15.setGeometry(QtCore.QRect(20, 170, 440, 30))
        self.pushButton_15.setStyleSheet("font: 9pt \"仿宋\";")
        self.pushButton_15.setObjectName("pushButton_15")
        self.pushButton_16 = QtWidgets.QPushButton(self.widget_2)
        self.pushButton_16.setGeometry(QtCore.QRect(20, 210, 440, 30))
        self.pushButton_16.setStyleSheet("font: 9pt \"仿宋\";")
        self.pushButton_16.setObjectName("pushButton_16")
        self.pushButton_17 = QtWidgets.QPushButton(self.widget_2)
        self.pushButton_17.setGeometry(QtCore.QRect(20, 240, 440, 30))
        self.pushButton_17.setStyleSheet("font: 9pt \"仿宋\";")
        self.pushButton_17.setObjectName("pushButton_17")
        self.pushButton_18 = QtWidgets.QPushButton(self.widget_2)
        self.pushButton_18.setGeometry(QtCore.QRect(20, 280, 440, 30))
        self.pushButton_18.setStyleSheet("font: 9pt \"仿宋\";")
        self.pushButton_18.setObjectName("pushButton_18")
        self.pushButton_19 = QtWidgets.QPushButton(self.widget_2)
        self.pushButton_19.setGeometry(QtCore.QRect(20, 320, 440, 30))
        self.pushButton_19.setStyleSheet("font: 9pt \"仿宋\";")
        self.pushButton_19.setObjectName("pushButton_19")
        self.pushButton_20 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_20.setGeometry(QtCore.QRect(660, 570, 93, 28))
        self.pushButton_20.setStyleSheet("background-color: rgba(255, 255, 255, 10);\n"
                                         "font: 10pt \"仿宋\";")
        self.pushButton_20.setObjectName("pushButton_20")
        self.pushButton_21 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_21.setGeometry(QtCore.QRect(10, 400, 100, 25))
        self.pushButton_21.setMouseTracking(True)
        self.pushButton_21.setTabletTracking(True)
        self.pushButton_21.setAutoFillBackground(False)
        self.pushButton_21.setStyleSheet("background-color: rgba(255, 255, 255, 40);\n"
                                         "font: 9pt \"仿宋\";")
        self.pushButton_21.setCheckable(True)
        self.pushButton_21.setChecked(True)
        self.pushButton_21.setObjectName("pushButton_21")
        self.label_10 = QtWidgets.QLabel(self.centralwidget)
        self.label_10.setGeometry(QtCore.QRect(70, 440, 570, 30))
        self.label_10.setAutoFillBackground(False)
        self.label_10.setStyleSheet("background-color: rgb(255, 255, 255,40);\n"
                                    "font: 10pt \"仿宋\";")
        self.label_10.setObjectName("label_10")
        self.pushButton_22 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_22.setGeometry(QtCore.QRect(600, 550, 25, 25))
        self.pushButton_22.setAutoFillBackground(False)
        self.pushButton_22.setStyleSheet("border-image: url(:/background/list_loop.jpg);")
        self.pushButton_22.setText("")
        self.pushButton_22.setObjectName("pushButton_22")
        self.pushButton_23 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_23.setGeometry(QtCore.QRect(40, 40, 25, 25))
        self.pushButton_23.setStyleSheet("border-image: url(:/background/sound_icon.jpg);")
        self.pushButton_23.setText("")
        self.pushButton_23.setObjectName("pushButton_23")
        self.pushButton_2 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_2.setGeometry(QtCore.QRect(390, 550, 50, 25))
        self.pushButton_2.setStyleSheet("background-color: rgba(255, 255, 255, 80);")
        self.pushButton_2.setObjectName("pushButton_2")
        self.checkBox = QtWidgets.QCheckBox(self.centralwidget)
        self.checkBox.setGeometry(QtCore.QRect(10, 40, 20, 25))
        self.checkBox.setText("")
        self.checkBox.setCheckable(True)
        self.checkBox.setChecked(False)
        self.checkBox.setObjectName("checkBox")
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setGeometry(QtCore.QRect(40, 40, 25, 25))
        self.label.setStyleSheet("border-image: url(:/background/quiet_button.jpg);")
        self.label.setText("")
        self.label.setObjectName("label")
        self.checkBox_2 = QtWidgets.QCheckBox(self.centralwidget)
        self.checkBox_2.setGeometry(QtCore.QRect(630, 555, 15, 15))
        self.checkBox_2.setTabletTracking(True)
        self.checkBox_2.setText("")
        self.checkBox_2.setChecked(False)
        self.checkBox_2.setObjectName("checkBox_2")
        self.label_11 = QtWidgets.QLabel(self.centralwidget)
        self.label_11.setGeometry(QtCore.QRect(600, 550, 25, 25))
        self.label_11.setStyleSheet("border-image: url(:/background/one_song_loop.jpg);")
        self.label_11.setText("")
        self.label_11.setObjectName("label_11")
        self.label_2.raise_()
        self.pushButton_3.raise_()
        self.pushButton_4.raise_()
        self.verticalSlider.raise_()
        self.pushButton_5.raise_()
        self.lineEdit.raise_()
        self.pushButton_6.raise_()
        self.label_5.raise_()
        self.label_6.raise_()
        self.pushButton_7.raise_()
        self.pushButton_8.raise_()
        self.label_4.raise_()
        self.label_7.raise_()
        self.widget.raise_()
        self.pushButton_9.raise_()
        self.pushButton_10.raise_()
        self.pushButton_11.raise_()
        self.widget_2.raise_()
        self.pushButton_20.raise_()
        self.pushButton_21.raise_()
        self.label_10.raise_()
        self.pushButton_22.raise_()
        self.pushButton_2.raise_()
        self.pushButton_23.raise_()
        self.checkBox.raise_()
        self.label.raise_()
        self.checkBox_2.raise_()
        self.label_11.raise_()
        MainWindow.setCentralWidget(self.centralwidget)
        self.action = QtWidgets.QAction(MainWindow)
        self.action.setCheckable(True)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/background/background_2.jpg"), QIcon.Normal, QIcon.On)
        self.action.setIcon(icon)
        self.action.setObjectName("action")
        self.retranslateUi(MainWindow)
        self.pushButton_6.clicked['bool'].connect(self.verticalSlider.setVisible)
        self.pushButton_21.clicked['bool'].connect(self.label_10.setVisible)
        self.verticalSlider.valueChanged['int'].connect(self.label_6.setNum)
        self.checkBox.clicked['bool'].connect(self.pushButton_23.setVisible)
        self.checkBox.clicked['bool'].connect(self.label.setHidden)
        self.checkBox_2.clicked['bool'].connect(self.pushButton_22.setVisible)
        self.checkBox_2.clicked['bool'].connect(self.label_11.setHidden)
        self.pushButton_5.clicked["bool"].connect(help_window.setup)  # help弹窗
        self.verticalSlider.valueChanged["int"].connect(self.get_voice_level)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
        MainWindow.setTabOrder(self.pushButton_8, self.pushButton_7)
        MainWindow.setTabOrder(self.pushButton_7, self.lineEdit)
        MainWindow.setTabOrder(self.lineEdit, self.pushButton_5)
        MainWindow.setTabOrder(self.pushButton_5, self.pushButton_6)
        MainWindow.setTabOrder(self.pushButton_6, self.pushButton_12)
        MainWindow.setTabOrder(self.pushButton_12, self.pushButton_13)
        MainWindow.setTabOrder(self.pushButton_13, self.pushButton_14)
        MainWindow.setTabOrder(self.pushButton_14, self.pushButton_15)
        MainWindow.setTabOrder(self.pushButton_15, self.pushButton_16)
        MainWindow.setTabOrder(self.pushButton_16, self.pushButton_17)
        MainWindow.setTabOrder(self.pushButton_17, self.pushButton_18)
        MainWindow.setTabOrder(self.pushButton_18, self.pushButton_19)
        MainWindow.setTabOrder(self.pushButton_19, self.pushButton_9)
        MainWindow.setTabOrder(self.pushButton_9, self.pushButton_10)
        MainWindow.setTabOrder(self.pushButton_10, self.pushButton_11)
        MainWindow.setTabOrder(self.pushButton_11, self.pushButton_3)
        MainWindow.setTabOrder(self.pushButton_3, self.pushButton_4)
        MainWindow.setTabOrder(self.pushButton_4, self.pushButton_21)
        MainWindow.setTabOrder(self.pushButton_21, self.horizontalSlider)
        MainWindow.setTabOrder(self.horizontalSlider, self.verticalSlider)
        MainWindow.setTabOrder(self.verticalSlider, self.pushButton_20)

    def get_voice_level(self, voice):
        global voice_level_begin
        voice_level_begin = self.verticalSlider.value()

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.pushButton_3.setText(_translate("MainWindow", "添加歌曲"))
        self.pushButton_4.setText(_translate("MainWindow", "更新歌曲列表"))
        self.pushButton_5.setText(_translate("MainWindow", "help"))
        self.pushButton_6.setText(_translate("MainWindow", "音量调节"))
        self.label_5.setText(_translate("MainWindow", "相对音量"))
        self.label_6.setText(_translate("MainWindow", "0"))
        self.pushButton_8.setText(_translate("MainWindow", "搜索"))
        self.label_4.setText(_translate("MainWindow", "Welcome！"))
        self.label_7.setText(_translate("MainWindow", str_userName))
        self.label_3.setText(_translate("MainWindow", "当前正在播放:"))
        self.label_8.setText(_translate("MainWindow", "Music"))
        self.pushButton_10.setText(_translate("MainWindow", "播放"))
        self.label_9.setText(_translate("MainWindow", "歌曲播放列表"))
        self.pushButton_12.setText(_translate("MainWindow", "music1"))
        self.pushButton_13.setText(_translate("MainWindow", "music2"))
        self.pushButton_14.setText(_translate("MainWindow", "music3"))
        self.pushButton_15.setText(_translate("MainWindow", "music4"))
        self.pushButton_16.setText(_translate("MainWindow", "music5"))
        self.pushButton_17.setText(_translate("MainWindow", "music6"))
        self.pushButton_18.setText(_translate("MainWindow", "music7"))
        self.pushButton_19.setText(_translate("MainWindow", "music18"))
        self.pushButton_20.setText(_translate("MainWindow", "彩蛋"))
        self.pushButton_21.setText(_translate("MainWindow", "显示/关闭歌词"))
        self.label_10.setText(_translate("MainWindow", "歌词"))
        self.pushButton_2.setText(_translate("MainWindow", "停止"))


# help弹窗
class HelpPopup(QDialog):
    def __init__(self):
        super().__init__()

    def setup(self):
        Dialog = QtWidgets.QDialog()
        self.Dialog = Dialog
        Dialog.setObjectName("Dialog")
        Dialog.setFixedSize(400, 300)
        self.pushButton = QtWidgets.QPushButton(Dialog)
        self.pushButton.setGeometry(QtCore.QRect(290, 240, 93, 28))
        self.pushButton.setObjectName("pushButton")
        self.textBrowser = QtWidgets.QTextBrowser(Dialog)
        self.textBrowser.setGeometry(QtCore.QRect(0, 0, 400, 300))
        self.textBrowser.setObjectName("textBrowser")
        self.textBrowser.raise_()
        self.pushButton.raise_()
        self.retranslateUi(Dialog)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
        self.show_self()
        self.pushButton.clicked["bool"].connect(self.Dialog.close)

    def show_self(self):
        self.Dialog.setWindowFlags(Qt.WindowMinMaxButtonsHint | Qt.WindowCloseButtonHint)  # 显示最小化、最大化以及关闭按钮
        self.Dialog.setModal(True)
        self.Dialog.show()

    def retranslateUi(self, Dialog):
        _translate = QtCore.QCoreApplication.translate
        Dialog.setWindowTitle(_translate("Dialog", "Tips"))
        self.pushButton.setText(_translate("Dialog", "确定"))
        self.textBrowser.setHtml(_translate("Dialog",
                                            "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
                                            "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                                            "p, li { white-space: pre-wrap; }\n"
                                            "</style></head><body style=\" font-family:\'SimSun\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
                                            "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:10pt; color:#000000;\">    如果程序出现了错误，请尝试关闭程序之后再次重启程序，如果还是无法解决，请即使联系我。如果程序中找不到您需要的歌曲，请见谅，可能程序的资源文件中并没有收录您需要的歌曲。如果您需要添加资源文件的话，请前往源程序下的文件夹\'./songs/system_bulit\'进行添加。如果出现的错误您无法解决或者需要反馈什么bug，请联系我，我的邮箱如下：</span></p>\n"
                                            "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'宋体\'; font-size:10pt; color:#000000;\">    邮箱：</span><span style=\" font-family:\'Times New Roman\',\'serif\'; font-size:10pt; color:#000000;\">246233707@qq.com</span><span style=\" font-family:\'宋体\'; font-size:10pt; color:#000000;\">。</span></p>\n"
                                            "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'宋体\'; font-size:10pt; color:#000000;\">    重要的事情说三遍，如果您无法通过自己解决问题，请及时联系我。</span></p></body></html>"))


help_window = HelpPopup()  # 实例化弹窗类
